package com.lening.entity;

import java.util.Date;
import java.util.List;

/**
 * 创作时间：2019/8/14 14:18
 * 作者：李增强
 */
public class GradeBean {

    private Integer gid;
    private String gname;
    private Date gtime;
    /*班级和学生一对多*/
    private List<StuBean> sbs;
    //班级和教室 一对一
    private RoomBean rb;
    //班级和讲师 一对一
    private TeacherBean tb;

    public RoomBean getRb() {
        return rb;
    }

    public void setRb(RoomBean rb) {
        this.rb = rb;
    }

    public TeacherBean getTb() {
        return tb;
    }

    public void setTb(TeacherBean tb) {
        this.tb = tb;
    }

    public List<StuBean> getSbs() {
        return sbs;
    }

    public void setSbs(List<StuBean> sbs) {
        this.sbs = sbs;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public Date getGtime() {
        return gtime;
    }

    public void setGtime(Date gtime) {
        this.gtime = gtime;
    }
}
